<?php
	require_once('core/core.php');
	#echo 'http://www.wowarmory.com/guild-info.xml?r='.str_replace(' ', '+', $config['guildrealm']).'&n='.str_replace(' ', '+', $config['guildname']).'&p=1';

	/*echo '<h1>Guild XML</h1>';
	$pie = new wowarmoryxml();
	$pie->parse();
	#$pie->debug();
	$pie->store();

	echo '<h1>WoWHeroes XML</h1>';
	$pie = new wowheroesxml();
	$pie->parse();
	#$pie->debug();
	$pie->store();*/

	/*echo '<h1>Player XML</h1>';
	$pie = new playerxml('Nazmin');
	$pie->parse();
	$pie->debug();//*/

	#$pie = new armorycache('player');
	#$pie->cache('Zivix', file_get_contents('./cache/player/Zivix.xml'));

	$xml = new playerxml('Zivix');
	$xml->parse();
	$xml->store();
	$xml->debug();
?>